package org.origin.centre.model.consts;

/**
 * 基本静态常量
 *
 * @author ferret
 * @version 2024-05-08
 */
@SuppressWarnings("unused")
public interface XConst {

    // ++++++++++++++++ DEF ++++++++++++++++
    String DEFAULT_CLIENT = "ferret-web-client"; // 默认的登录渠道
    String DEFAULT_PASSWORD = "ferret-12345678"; // 默认密码

    // ++++++++++++++++ KEY ++++++++++++++++
    String ID = "id";
    String ACCOUNT = "account";
    String USERNAME = "username";
    String PASSWORD = "password";
    String STATUS = "status";
    String ADMIN = "isAdmin";
    String ORG_ID = "orgId";
    String DATA_SCOPE = "dataScope";
    String CLIENT_ID = "clientId";
    String AUTHORITIES = "authorities";

    // ++++++++++++++++ ID ++++++++++++++++
    String ADMIN_ID = "1";      // 管理员ID
    Long TOP_PID = 0L;          // 树结构数据顶级父ID
    Long TOP_ID = 1L;           // 树结构数据顶级ID
    Long DICT_ID = 1L;          // 字典ID
    Long CONFIG_ID = 2L;        // 配置ID

}
